Analogous to the corresponding RenderNode method, but returning an Int to conform to Drawable's interface.